package com.mr.cai.main.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import com.mr.cai.main.R;
import com.mr.cai.main.activity.base.MrCaiBaseActivity;
import com.mr.cai.main.utils.CommonCoreUtil;

import rx.functions.Action1;

/**
 * Created by hai8108 on 16/2/25.
 */
public class MrCaiHelpCenterActivity extends MrCaiBaseActivity {
    public static void launch(Activity activity){
        Intent intent = new Intent(activity, MrCaiHelpCenterActivity.class);
        activity.startActivity(intent);
    }
    @Override
    public void onCreate (Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting_help_center_layout);
        findView();
        initData();
    }
    private void findView(){
        CommonCoreUtil.setClickAction(findViewById(R.id.top_view).findViewById(R.id.pub_top_left)
                , new Action1() {
            @Override
            public void call (Object o) {
                finish();
            }
        });
        ((TextView)findViewById(R.id.top_view).findViewById(R.id.pub_top_mid)).setText(R.string.my_setting_help_txt);
    }
    private void initData(){

    }
}
